package cn.school.entity;

import java.io.Serializable;
import java.util.Date;

public class Student implements Serializable {
	private long stuno;
	private String sname, sex, telephone, qq, wechat;
	private long gradeid;
	private String fromcity, address, pass;
	private Date birthday, enterdate;

	public String getIdcardpic() {
		return idcardpic;
	}

	public void setIdcardpic(String idcardpic) {
		this.idcardpic = idcardpic;
	}

	private String idcardpic;

	// 增加年级名称
	private String gname;

	public Student() {
		super();
	}

	public long getStuno() {
		return stuno;
	}

	public void setStuno(long stuno) {
		this.stuno = stuno;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getWechat() {
		return wechat;
	}

	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public long getGradeid() {
		return gradeid;
	}

	public void setGradeid(long gradeid) {
		this.gradeid = gradeid;
	}

	public String getFromcity() {
		return fromcity;
	}

	public void setFromcity(String fromcity) {
		this.fromcity = fromcity;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPass() {
		return pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Date getEnterdate() {
		return enterdate;
	}

	public void setEnterdate(Date enterdate) {
		this.enterdate = enterdate;
	}

	public String getGname() {
		return gname;
	}

	public void setGname(String gname) {
		this.gname = gname;
	}

	@Override
	public String toString() {
		return "Student [stuno=" + stuno + ", sname=" + sname + ", sex=" + sex + ", telephone=" + telephone + ", qq="
				+ qq + ", wechat=" + wechat + ", gradeid=" + gradeid + ", fromcity=" + fromcity + ", address=" + address
				+ ", pass=" + pass + ", birthday=" + birthday + ", enterdate=" + enterdate + "]";
	}

}
